<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel app\models\search\AuthAccountSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Auth Accounts';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="auth-account-index">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a('Create Auth Account', ['create'], ['class' => 'btn btn-success']) ?>
    </p>

    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'id',
            'uid',
            'auth_app_id',
            'app_uid',
            'open_id',
            //'nickname',
            //'note_name',
            //'avatar',
            //'auth_item_nums',
            //'last_auth_item_id',
            //'last_auth_item_time:datetime',
            //'token',
            //'token_expire_time:datetime',
            //'refresh_token',
            //'refresh_token_expire_time:datetime',
            //'refresh_token_get_nums',
            //'all_expire_time:datetime',
            //'ctime:datetime',
            //'state',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>


</div>
